<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
    <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title></title>
<sx:head/>
</head>
<body>
<p>Selecione o tipo de busca Desejada</p>
<table>
 <tr>
   <td><input type="radio" value="Animal" name="typeBusca" id="buscaAnimal" onclick="openCloseBuscas('animal')"/>Animal
       <input type="radio" value="Dono" name="typeBusca" id="buscaDono" onclick="openCloseBuscas('dono')"/>Dono
       <input type="radio" value="Veterinario" name="typeBusca" id="buscaVeterinario" onclick="openCloseBuscas('veterinario')"/>Veterinario
       <input type="radio" value="Funcionario" name="typeBusca" id="buscaFuncionario" onclick="openCloseBuscas('funcionario')"/>Funcionario
       <input type="radio" value="Consulta" name="typeBusca" id="buscaConsulta" onclick="openCloseBuscas('consulta')"/>Consulta
   </td>
 </tr>
 <tr>
    <td>
	 	<div id="animal" style="display: none;">
	 	   <jsp:include page="/jsp/animal/buscarAnimal.jsp"/>
	 	</div>
 	</td>
 </tr>
 <tr>
 	<td>
 	   <div id="dono" style="display: none;">
 	   		<s:form action="Dono!search" namespace="/model">
 	   			<jsp:include page="/jsp/pessoaBusca/buscaPessoa.jsp"/>
 	   			<s:submit value="Buscar"/>
 	   		</s:form>	
	 	</div>
 	</td>
 </tr>
 <tr>	
 	<td>
 	   <div id="veterinario" style="display: none;">
 	   		<jsp:include page="/jsp/veterinario/buscarVeterinario.jsp"/>	
	 	</div>
 	</td>
 </tr>
 <tr>	
 	<td>
 	   <div id="funcionario" style="display: none;">
 	   		<jsp:include page="/jsp/funcionario/buscarFuncionario.jsp"/>	
	 	</div>
 	</td>
 </tr>
 <tr>	
 	<td>
 	   <div id="consulta" style="display: none;">
 	   		<jsp:include page="/jsp/consulta/buscarConsultas.jsp"/>	
	 	</div>
 	</td>
 </tr>
</table>
</body>
</html>